package Demo1;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-20
 * Time: 8:49
 */
public class Test {
    public void shuffle(List<Card> cardList) {
        Random random = new Random();
        for(int i=0;i<51;i++){
            int index = random.nextInt(下标i);
            swap()
        }



    }

    private void swap(List<Card> cardList,int i,int j) {
        Card tmp=cardList.get(j);
        cardList.get[i]=cardList.get(j);
        cardList.get(j)=tmp;
    }
}
